package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配图管理对象 activity_picture_mapping
 * 
 * @author ruoyi
 * @date 2024-12-05
 */
public class ActivityPictureMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 映射表主键，自动递增 */
    private Long mappingId;

    /** 动态的唯一标识，与 daily_activity.activity_id 外键关联 */
    @Excel(name = "动态的唯一标识，与 daily_activity.activity_id 外键关联")
    private String activityId;

    /** 图片的 URL 路径 */
    @Excel(name = "图片的 URL 路径")
    private String pictureUrl;

    public void setMappingId(Long mappingId) 
    {
        this.mappingId = mappingId;
    }

    public Long getMappingId() 
    {
        return mappingId;
    }
    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mappingId", getMappingId())
            .append("activityId", getActivityId())
            .append("pictureUrl", getPictureUrl())
            .toString();
    }
}
